<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			div{
				position: relative;
				width: 100px;
				height: 100px;
				border: 1px solid #000000;
			}
			span{
				position: absolute;
				height: 20px;
				width: 20px;
				right: -5px;
				top: -5px;
				background: #FF0000;
				border: #FF0000;
				border-radius: 10px;
				color: white;
				text-align: center;
				line-height: 1.3;
			}
		</style>
	</head>
	<body>
		<div>
			<span >
				2
			</span>
		</div>
	</body>
</html>
